package com.dk.mapper;

import com.dk.pojo.TAuthor;
import com.dk.pojo.TAuthorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TAuthorMapper {
    int countByExample(TAuthorExample example);

    int deleteByExample(TAuthorExample example);

    int insert(TAuthor record);

    int insertSelective(TAuthor record);

    List<TAuthor> selectByExample(TAuthorExample example);

    int updateByExampleSelective(@Param("record") TAuthor record, @Param("example") TAuthorExample example);

    int updateByExample(@Param("record") TAuthor record, @Param("example") TAuthorExample example);

    List<TAuthor> getInfo();

    List<TAuthor> getInfoByChannnel();

    TAuthor selectByPrimaryKey(@Param("authorId") Integer authorId);

    int updateByPrimaryKeySelective(TAuthor author);

    int deleteByPrimaryKey(@Param("authorId") Integer authorId);
}